[INFO] cloning repository https://github.com/kpensec/rust_wasm_sdl_testing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpensec/rust_wasm_sdl_testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8c98bc3330ee81ee99a8b062e2237157eac0adb
[INFO] checking kpensec/rust_wasm_sdl_testing against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kpensec/rust_wasm_sdl_testing on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing
[INFO] finished tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing
[INFO] tweaked toml for git repo https://github.com/kpensec/rust_wasm_sdl_testing written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/kpensec/rust_wasm_sdl_testing already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45b8ce84e6274c2927fe0f347db74a7dd5162ac9c1b4f12422c8bbb5827eed50
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "45b8ce84e6274c2927fe0f347db74a7dd5162ac9c1b4f12422c8bbb5827eed50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45b8ce84e6274c2927fe0f347db74a7dd5162ac9c1b4f12422c8bbb5827eed50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45b8ce84e6274c2927fe0f347db74a7dd5162ac9c1b4f12422c8bbb5827eed50", kill_on_drop: false }`
[INFO] [stdout] 45b8ce84e6274c2927fe0f347db74a7dd5162ac9c1b4f12422c8bbb5827eed50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 30bbdc8c452d879e5c998953b4a352567b9c563bc91ac49d88b1f7ee052c9ddc
[INFO] running `Command { std: "docker" "start" "-a" "30bbdc8c452d879e5c998953b4a352567b9c563bc91ac49d88b1f7ee052c9ddc", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.38
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking libc v0.2.41
[INFO] [stderr]    Compiling rust-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl2 v0.31.0
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let synthesizer = Synthesizer::new();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       expected 1 argument
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/synth/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(playback_freq: i32) -> Self{
[INFO] [stdout]    |     -------------------------------------- defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let synthesizer = Synthesizer::new();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       expected 1 argument
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/synth/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(playback_freq: i32) -> Self{
[INFO] [stdout]    |     -------------------------------------- defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:132:39
[INFO] [stdout]     |
[INFO] [stdout] 132 |                     let lock = device.lock();
[INFO] [stdout]     |                                       ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:136:43
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     let mut lock = device.lock();
[INFO] [stdout]     |                                           ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     let mut lock = device.lock();
[INFO] [stdout]     |                                           ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `blend_sample` found for mutable reference `&mut Synthesizer` in the current scope
[INFO] [stdout]   --> src/synth/mod.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |             self.blend_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |                  ^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn blend_sample(lhs: f32, rhs: f32) -> f32 {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Synthesizer::blend_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 60 |             self.get_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:66:50
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut result = Vec::with_capacity(self.buffer_size);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:132:39
[INFO] [stdout]     |
[INFO] [stdout] 132 |                     let lock = device.lock();
[INFO] [stdout]     |                                       ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:136:43
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     let mut lock = device.lock();
[INFO] [stdout]     |                                           ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue<f32>` in the current scope
[INFO] [stdout]    --> src/main.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     let mut lock = device.lock();
[INFO] [stdout]     |                                           ^^^^ method not found in `AudioQueue<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `blend_sample` found for mutable reference `&mut Synthesizer` in the current scope
[INFO] [stdout]   --> src/synth/mod.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |             self.blend_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |                  ^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn blend_sample(lhs: f32, rhs: f32) -> f32 {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Synthesizer::blend_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 60 |             self.get_sample(result, key.update(self.volume, self.step));
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:66:50
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut result = Vec::with_capacity(self.buffer_size);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/synth/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 67 | /         if ! self.active {
[INFO] [stdout] 68 | |             result
[INFO] [stdout]    | |             ^^^^^^ expected `()`, found struct `Vec`
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |         -- help: consider using a semicolon here
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |           expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                  found struct `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for x in 0..self.buffer_size {
[INFO] [stdout]    |                          ^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/synth/mod.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |       pub fn update(&mut self, eps: f32) -> Vec<f32> {
[INFO] [stdout]    |                                             -------- expected `Vec<f32>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 71 | /         for x in 0..self.buffer_size {
[INFO] [stdout] 72 | |             let sample = self.get_sample();
[INFO] [stdout] 73 | |             // TODO search 
[INFO] [stdout] 74 | |             result.push(sample);
[INFO] [stdout] 75 | |             result.push(sample);
[INFO] [stdout] 76 | |         }
[INFO] [stdout]    | |_________^ expected struct `Vec`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/synth/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 67 | /         if ! self.active {
[INFO] [stdout] 68 | |             result
[INFO] [stdout]    | |             ^^^^^^ expected `()`, found struct `Vec`
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |         -- help: consider using a semicolon here
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |           expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                  found struct `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer`
[INFO] [stdout]   --> src/synth/mod.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for x in 0..self.buffer_size {
[INFO] [stdout]    |                          ^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-app`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/synth/mod.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |       pub fn update(&mut self, eps: f32) -> Vec<f32> {
[INFO] [stdout]    |                                             -------- expected `Vec<f32>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 71 | /         for x in 0..self.buffer_size {
[INFO] [stdout] 72 | |             let sample = self.get_sample();
[INFO] [stdout] 73 | |             // TODO search 
[INFO] [stdout] 74 | |             result.push(sample);
[INFO] [stdout] 75 | |             result.push(sample);
[INFO] [stdout] 76 | |         }
[INFO] [stdout]    | |_________^ expected struct `Vec`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "30bbdc8c452d879e5c998953b4a352567b9c563bc91ac49d88b1f7ee052c9ddc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30bbdc8c452d879e5c998953b4a352567b9c563bc91ac49d88b1f7ee052c9ddc", kill_on_drop: false }`
[INFO] [stdout] 30bbdc8c452d879e5c998953b4a352567b9c563bc91ac49d88b1f7ee052c9ddc
